Move locations-specific endpoint to a separate route file