add API docs to readme