Main controller (web_service.py)