Basic structure for MemoryBuffer class. compiles. minimal testing done.

Todo:
more tests
print() method