Fixing up the readme.md with what may be a better example and reflects updated API.