Move API documentation to README.md