🔧 chore(manager.py): remove unused functions and refactor code in manager.py for better code organization and maintainability