put data in json file and cleaned up handlebars implementation