Move methods from main.py to blueprints