Separated routing form the app for more readibility.