Setup connection class to MongoDB