Simple addressbook implemented using java and mongodb