KRACOEUS-7725: removing service locator and changing the way the dependa...

...nt service is imported