implemented handelbar.js templating. Fixed a CORS same origin issue by running on localhost