var Index = { index:function(res,req,args){ var a = new VIEW('/index.html'); res.writeHead(200, {'Content-Type': 'text/html'}); res.write(a.html); res.end(); } }; module.exports = Index;