added config to dependencyinjection