Reorganized API docs.
Changed the style of the api docs.
Reorganized API examples.
Added links to examples in the API docs.