Add API.md

First draft.