code: function loadRoutes() {
    try {
      var list = Crux.util.readDirectory(Component.appPath(this.config.path.routes), 'js'),
        self = this;
      if(list.length === 0) {
        return log.warn('Crux.server: component has no routes.');
      }
    } catch(e) {
      return;
    }
  
    list.forEach(function(routePath) {
      var routeObj = require(routePath);
      if(routeObj.skip === true) return;
      var httpRouteObj = self.createHttpRoute(routePath);
      if(!_.isFunction(routeObj)) {
        log.warn('Crux.server: Route %s does not export a function.', httpRouteObj.__rootPath);
        return;
      }
      routeObj(httpRouteObj);
      if(typeof self.routes[httpRouteObj.__namespace] !== 'undefined') {
        throw new Error("Route namespace " + httpRouteObj.__namespace + " previously registered.");
      }
      self.routes[httpRouteObj.__namespace] = httpRouteObj;
      routeCount++;
    });
    if(self.config.debug) {
      log.trace('Crux.server: %s route(s) loaded.', routeCount);
    }
  }
docs: /*
  This will load up all the routes in the app.