Added a block manager class