async function initDb(config) {
  const dbPath = config.get('dbPath');
  mkdirp.sync(path.join(dbPath, '/cache'));

  const sequelizeDb = new SequelizeDb(config);
  const models = new Models(sequelizeDb, config);

  return { models, sequelizeDb };
}
Initialize db for a given config
@param {object} config