Updated readme with code samples.