Major project clean up. Added Jinja2 library to handle the templates