fixed from json, added handlebars for parsing/compiling templates