Refactoring stream into seperate module
Autocommit Wed Dec 03 10:50:15 EST 2014