Add API section.

Very rough attempt, just to get this started.
Merge pull request #135 from shurcooL/patch-1

Add API section.