code: function(options) {
  
      dotenv.config({path: this.root.join('.env'), silent: true});
  
      this.env = options.environment || process.env.NODE_ENV || 'development';
  
      // detect if we're in an kona application cwd
      this.inApp = fs.existsSync(this.root.join('config', 'application.js'));
  
      // create a winston logger instance
      this.mountLogger(this.env);
  
      // expose support objects on kona global
      this.support = support;
      // expose lodash
      this._ = support.Utilities;
      // lodash + inflections
      this.inflector = support.inflector;
  
      this.middlewarePaths = [
        'metrics',
        'logger',
        'static',
        'error',
        'cache',
        'session',
        'body-parser',
        'method-override',
        'etag',
        'views',
        'router',
        'dispatcher',
        'invocation',
        'autoresponder'
      ].map(function(name) {
        return path.resolve(__dirname, join('middleware', name));
      });
    }
docs: parse .env, global env vars, inApp check and setup middleware paths
  for readiness
  
  @param  {Object} options kona construction options