My dependency injection (DI) and inverse of control(IoC)