'Add facts for the provided kind'

def add_facts_for(self, comp, kind, name=None, facts=None):

    if (comp not in self.facts):
        self.facts[comp] = dict()
    if (kind not in self.facts[comp]):
        self.facts[comp][kind] = dict()
    if name:
        self.facts[comp][kind][name] = facts
