Create API.md

Sketch of API.