isolate stream logic from tree building and matching logic

cleanup, updates to README, versioning (due to preferred instantiation dropping 'new')
Merge pull request #1 from Maciek416/cleanup

isolate stream logic from tree building and matching logic