DependenciesInjector moved to a class