adding engineLoader and dependencies
fixing some bugs and including handlebars in dev dependencies