changed base app structure - removes commonjs refferences, added handlebars template handling