More API docs.
Updating readme with real code!