         path = "#{@dirname}/#{name}"
         klass = require path
 
+        @addClass name, klass
+
+
+    ###*
+    set klass to dictionary
+    attaches getFacade() method
+
+    @method addClass
+    @private
+    @param {String} name
+    @param {Function} klass
+    @param {Object} [options]
+    @return {Function}
+    ###
+    addClass: (name, klass) ->
 
         if klass::getFacade is @constructor.Base::getFacade
             facade = @


    ###*
    read a file and returns class
    Attaches getFacade() method

    @method require
    @private
    @param {String} name
    @return {Class}
    ###
    require: (name)->
        return @classes[name] if @classes[name]?

            @classes[name] = klass



    ###*
    read a file and returns the instance of the file's class

