move template html to external file