Remove old api.py file