abstracting routes from main app