Added SetList class and machinery for adding sets/returning all sets.