Refactored routes into their own files.