Added templating

Added handlebars dependency and changed templating