Update DBMongo.java

changed the visibility of some methods