Template updates

Removed inline Underscore templates and moved everything to Handlebars.