removing a deubg print
template factorisation

* spliting template into base, navbar and content
* using mako template heritage