Adding api

The API is working and is awesome!!! Thanks Matt!!