Used Python's URL model to rewrite the template navigation. Bug #11 resolved.