added more completeness to main, cleaned up MapMgr and Positioner