lib/database.js
function init(cb) {
	Storage.read(goblin.config.files.db, {}, function(err, db) {
		if (err) {
			return cb(err);
		}

		goblin.db = db;
		cb();
	})
}
function init(cb) {
	Storage.read(goblin.config.files.db, {}, function(err, db) {
		if (err) {
			return cb(err);
		}

		goblin.db = db;
		cb();
	})
}
function init ( cb ) { Storage . read ( goblin . config . files . db , { } , function ( err , db ) { if ( err ) { return cb ( err ) ; } goblin . db = db ; cb ( ) ; } ) }
Initialize database.

@param {function} cb Callback function called when the database is initialized,
meaning the functions have been restored from file. The function
gets a parameter which is an error message if any.
@returns {void}
Initialize database .