Add API documentation to readme