Moved the routes into separate files for readability.