def __init__(self, db, collection_name, has_stats=False, **kwargs):
        self.property_helper = None
        self.log_helper = None
        self.collection_name = collection_name
        self.db = db
        if 'logger' in kwargs:
            self.log_helper = kwargs['logger']
        if collection_name in self.db.collection_names():
            self.collection = self.db[collection_name]
        else:
            self.collection = self.db.create_collection(collection_name)
        if has_stats:
            self.add_stats_collection()