Using Morphia- Java library for MongoDB