refactor the creation of handlebars templates
add the initial ember.js code