Update documentation with examples and API reference