Simplify smart_manager.py