Readme updated with code examples.