Updated readme with more detail on API.