Beginning to revise HTML generator and use jinja2 instead of generating the HTML in Python.