edited getting DI Container into other classes