added handlebars and started converting templates