Constructor for the MongoDBWrapper class, initializes the MongoDB client
Connects to the MongoDB client, returns the collection
Closes the MongoDB client