Document API.
Merge pull request #1 from mrose17/master

Document API in README.md