Add usage and example code in README.md