instantiate object BlockDb