Real html templates, closes #3