Refactored into a library and added support for transparent templating

Refactored the code so that all the generic code is into the utils.js
script

Now the templates are generic with respect to Handlebars + support for
automatic precompilation

Added support for SASS