merged api.py into util.py