translate in coffee/jade for maintainability

I like the idea of this project, but really it made me sad to see the templates right inside the code. So I translated it into the code flow that I am used to.