Added module support. Refactored templates a little. Added Navbar
template.