UPDATED to the latest MongoDB Java driver and Morphia library