Initial work on api
Begin API implementation
Merge pull request #1 from gcflames5/api

Merge Api with Master