     @stack = []
     @services = {}
     #@initBlacklist options.blacklist
-    @loadModels models
+
+    @loadConstructors models
+
     @on 'error', Bongo.throwIt
     @mq?.ready => @mq.connection?.on 'error', (err) ->
       Bongo.throwIt err

  {extend}        = require 'underscore'
  @JsPath = JsPath = require 'jspath'
  @Inflector      = require 'inflector'
  # lib
  # the base klass of the library:
  @Base = Base    = require './base'


module.exports = class Bongo extends EventEmitter
  [READY, NOTREADY] = [0,1]

  Promise = require 'bluebird'

  # core
  url = require 'url'
  fs = Promise.promisifyAll require 'fs'
  nodePath = require 'path'

  require 'colors'
