New templater

I fancy getting rid of the coffee-template dependency and using something a little more flexible.