API documentation

As defined by Task #5