refactoring core logic
removing handlebars script tag
adding basic stylesheet