constructor
Connected to MongoDB