Adding code for mongo persitence framework Morphia