docs: function initApp (config) {
      // init each module in the order loaded
      _.each(config.moduleNames, moduleName => {
          var module = config.modules[moduleName]
          // load modules and controllers for module, setup routes
          initModule(config, module)
          // merge module routes to global routes
          _.merge(config.routes, module.routes)
      })
      // initialize merged routes from all modules
      var router = initRoutes(config, config.routes)
      // bind router to app base
      config.express.use('/', router)
  }