updated template

Updated how templates are compiled. Added a couple of less files.