Use getMongoURL() and static variables