Updated html generation to use jinja2 templates
Updated html generation to use jinja2 templates