Get StreamingIterator trait working using magic from Sharp

I also reorganized a bunch of code.