comments, formatting
extract templates from index.html

#2
loading templates won't work from disk, a HTTP server must serve the files.