Generalized FactBase to store objects