Simple java implementation of a blog mechanism on top of MongoDB