fixed routing bug

*deleted __dirname.
*coffeescript now working
*core functionality intact
*reviewing .jade files
*added layout.jade