Refactoring of the code to make the index pages as the root routing page

This is the refactoring of the code to make the index pages under management, reports and admin as the root routing page.