added code to load config
renamed DI class