moved most utilites to header-only, renamed sectors to  buffers, added gtest unit test stubs