Add a base model consisting of a MongoDB connection.