I've started Flask-ifying the HTML.

I also moved the HTML files to the templates folder.