IO now handles buffers
Added Buffer for handling nested streams