Adding dependency injector