Update README.md with installation instructions and some code snippets