renamed static.py to api.py, there really isn'y anything non static