docs: function bootModels(trinte) {
      var caminte = require('caminte');
      var Schema = caminte.Schema;
      var db = database[process.env.NODE_ENV || 'dev'];
      var schema = new Schema(db.driver, db);
      var modelsDir = path.resolve(__dirname, '../app/models');
      trinte.caminte = schema;
      global.caminte = schema;
  
      try {
          fs.readdir(modelsDir, function (err, files) {
              if (err) {
                  console.log(err);
              }
              if (!files || files.length === 0) {
                  if (config.debug) {
                      console.log('models_loaded');
                      console.log('Models files does not found');
                  }
                  trinte.emit('models_loaded');
              } else {
                  var count = files.length;
                  if (count > 0) {
                      files.forEach(function (file) {
                          bootModel(trinte, schema, file);
                          if (--count === 0) {
                              if ('function' === typeof schema.autoupdate) {
                                  if (!process.env.AUTOUPDATE) {
                                      schema.autoupdate(function (err) {
                                          if (config.debug) {
                                              console.log('Run Caminte driver Autoupdate!');
                                          }
                                          process.env.AUTOUPDATE = true;
                                          if (err) {
                                              console.log(err);
                                          }
                                      });
                                  }
                              }
                              trinte.emit('models_loaded');
                              if (config.debug) {
                                  console.log('models_loaded');
                              }
                          }
                      });
                  }
              }
          });
      } catch (err) {
          console.log('Error: Models dir does not found');
          process.exit(1);
      }
  }