Use handlebars for templating and cleaned up formatting