     ## construct -> start -> stop
     ##
     class FloydContext extends floyd.auth.Controllable
-        
-        
-        ## 
+
+
+        ##
         ## TODO configuration procedure documentation
         ##
         ## * id

            if !@_errorHandler
                if @parent
                    @parent.error err
                
                else
                    @logger.error err
                
            else
                @_errorHandler err
        
        ##
        ##
        ##
        _createChild: (config, done)->
            if typeof (ctor = config.type) isnt 'function'
                ctor = floyd.tools.objects.resolve(ctor || 'floyd.Context')
            
            done ?= (err)=> @error(err) if err
                
            if ctor 
                ctx = new ctor @
                
                ctx.init config, (err)=>
                    return done(err) if err
                    @children.push ctx
                
                    if @_status.indexOf('booting') != -1
                    
                        ctx.boot (err)=>
                            return done(err) if err
                            if @_status.indexOf('started') != -1                            
                                ctx.start (err)=>
                                    done err, ctx
                            
                            else
                                done null, ctx
                    
                    else
                        done null, ctx
                
            else
                done new Error 'Unknown Context-Type: '+config.type


        start: (done)->

            @_changeStatus 'started'

            @_init 'start', 'running', done



        ##
        ## TODO stop procedure documentation
        ##
