Make agens optional to be able to switch some of them off.
Moved CollectionSearchJob to separate file.