converting .html templates to .tpl, moving images, css and js files to /assets