Functions to manage DataBlocks. 

TODO
1. diavasma header apo BufferManager