                         
                         floyd.tools.http.files.resolve url, _public, (err, file)=>
                             return fn(err) if err
+                            
+                            files = floyd.tools.files
                             
                             if files.fs.lstatSync(file).isDirectory()
                                 file = files.path.join file, @data.find 'index'

            
                data:
                    ctype: 'text/html'
            
            ,config


        ##
        ##
        start: (done)->
            super (err)=>
                return done(err) if err
        
                if @_model.remote
                    @_model.remote.data ?= {}
                    @_model.remote.data.origin = @ID
                
                @__POOL__ = []
                
                @lookup @data.libloader, @identity, (err, ctx)=>
                    ctx.getCompiledCode (err, script)=>
                        @__SCRIPT = script 
                        
                        done()
                
        ##
        ##
