remove superflous handler and cleanup routes in main.py