Updated readme with code sample