API cleanups
Add example to README