basic MVC using handlebars for templating