update readme and add code samples