Split out DB class and added block manager to chainmanager
Switched dummy_blockchain to real blockchain