Added Jinja template
Changed HTML generator to Jinja2
details as PRE