Simple CRUD operations with Java and MongoDB