Delete api.py

moving file to api module