Update core.py (remove unused module)