Add more dependencies info and fix example code in README.md