refactored routes into separate files and moved all routes to its own directory