Added jinja2 templates, proper routing

Added a new base template for header, clock, navigation. Changed
routing functions to serve templates instead of static pages.