Refactor the project to use jade for templating

Way tidier this way.