refactor: separate routes - main.py