add feature to clearAll and (re)initialize providers to support on-the-fly routing changes