code cleanup
Merge pull request #1 from joeelsey/branch1

streams reading and tee program