Update README with API and simple usage example