App uses now jinja2 to render templates and links use url_for

https://gist.github.com/artpard/5369754f22b8d874e90a