modify navigation and change template engine to mako