Added api.py.  Fixing weird gitignore issues.