docs: function startServer(port, db, next) {
      var app = this;
      var port = port || app.get('port');
      var db = db || app.get('db');
  
      if (!(next instanceof Function)) {
  	next = function(err) {
  	    if (err) console.error(err);
  	}
      }
  
      // Add one last handler for unrouted requests
      app.use(app.get('default_handler'));
      
      // Start the server
      return app.listen(port, function(err) {
  	if (err) {
  	    next(err);
  	} else {
  	    console.log("Server started successfully on port", port);
  	    console.log();
  	    // Connect to the database if requested
  	    if (db) {
  		sql.db_setup(app, db, next);
  	    } else {
  		next();
  	    }
  	}
      });
  }