modifications to TargetSet

targetSet now only has length of ‘targets’ in config.yaml. This should
avoid having to load in all targets that are present in the
yaml-catalog.