Start of API docs. Refs #17.

Added API documentation for views.