Move templates to html