back ported new ConfigDispatcher from ESH to make multiple configuration files possible. Change should be fully backwards compatible