Created blocks, and added persistence to couch DB of blocks