shorter implementation from @adonoho ref 8631806
update stream_example script Ref @adonoho 95d4980
Update to use OAuth, take in command line arguments and modify the imports to function from within the module.