Added the possibility to use multiple threads, multiple providers per node, and multiple targets per provider.