Final changes. Fixed the 404 issue when the root page was requested.
Also changed most of server.js. Jade is no longer converted to HTML.