working flask app with templating from jinja2