def to_dict(self):
        """ 
            Returns a dict of all of it's necessary components.
            Not the same as the __dict__ method
        """
        data = dict()
        data['max_age'] = self.max_age
        data['cache_dir'] = self.cache_dir
        return data