code: function initContainer(opts) {
      var apps, appDir;
  
      container = opts.container;
  
      // if batch, preload that dir
      container === 'batch' ?
          opts.preload.push('batch') :
          opts.preload.push('middleware');
  
      if (container === 'webserver') {
          appDir = path.join(opts.rootDir, '/app');
          apps = fs.readdirSync(appDir);
          _.each(apps, function (app) {
              opts.preload = opts.preload.concat([
                  'app/' + app + '/filters',
                  'app/' + app + '/utils'
              ]);
          });
      }
  
      init(opts);
  }
docs: Convenience function for apps to use. Calls init after
  setting some values.
  
  @param opts