Api docs extraction

Broke content in api.md apart into several files; one for each object in API.
@ritch