Moved route config for the profile module

Moved the route config so that the module is more isolated