Create API.md

Needed to move this out of the README