Updated readme with code examples