added more documentation, removed unused methods in router.