add dependency injector