moved nav template stuff into nav.html
some reorganization
added editor for groups, can now delete, code cleanup
some basic cleanup