added data type accessor to AbstractDataBuffer, refactoring comments added towards goal of cleaning up and improving testing on the StreamDataBuffer