Provide API Documentation

Use yuidoc to produce documentation.

fixes #1