Renamed fred.py to api.py