tweaks
added mongodb support and update and get diffs

there is now a mongodb database and you can update the diffs for a block and
get the diffs for a block. no tests yet.