Fixed up some styling and added a template to add conditions into the header template
Moved handlebars registration to config