Added API documentation
linked to API docs in readme