code: function(callback)
      {
          // Connect to the given URI with the given options
          self.mongoose.connect(self.config.uri, defaultOpts, function(err) {
  
              if (err) {
                  return callback && callback(err);
              }
  
              // List all models for all modules
              var modules = (new (require('../../helper/project'))()).listModelsForAllModules(
                  process.cwd(), false
              );
  
              var connectionName = 'mongodb.' + self.name;
              Schema = self.mongoose.Schema;
  
              Object.keys(modules).forEach(function(module) {
  
                  // Skip modules which got no models for this connection
                  if (!modules[module].hasOwnProperty(connectionName)) {
                      return;
                  }
  
                  modules[module][connectionName].forEach(function(model) {
  
                      var path = process.cwd() + '/modules/' +
                                 module + '/models/' + connectionName + '/' + model;
  
                      // Import the current schema to compile a model out of it
                      try {
                          self.mongoose.connection.model(model, require(path));
                      } catch (e) {
                          logger.error(
                              'Failed to load model ' + model.bold.green +
                              ' of ' + connectionName.yellow
                          );
                          return callback && callback(e);
                      }
                  });
              });
  
              // Clear global variable pollution
              delete Schema;
  
              // Rewrite ORM connection and models
              self.orm.instance = self.mongoose.connection;
              self.orm.models   = self.mongoose.connection.models;
  
              callback && callback(null, self.orm);
          });
  
          self.mongoose.connection.on('error', function(err) {
              logger.error('Error occured on ' + self.name.yellow + ' backend. Details: ' + (err.stack || err));
          });
      }
docs: Setup the ORM