added hbs templating and changed template type to html