updating API docs
fixing API docs (closes #43)