README.md documentation and example code