Delete legacy.py