added support for Smarty template-generator
added css and js