Adding disk manager read/copy/write helper methods. Introducing a first version of segment merging.