Added constructor that accepts MongoUrl