Update README.md

Wrote first draft of API documentation.