code: function (options) {
    var self = this;
    var warnings = verifyEnv();
  
    EventEmitter.call(this);
  
    this.options = _.merge({}, defaults, options);
    this.running = false;
  
    if (warnings) {
      warnings.forEach(function (warning) {
        self.print(warning);
      });
      process.exit(1);
    }
  
    this.setup();
  
    if (this.options.cache === 0 || !this.hasApiCache()) {
      this.fetch(function () {
        self.start();
      });
    }
    else {
      // Start server after the constructor
      setTimeout(function () {
        self.start();
      }, 0);
    }
  }
docs: Constructor