KRACOEUS-7372: Fixing previous PR. Injecting service instead of using service locator.
KRACOEUS-7372: Injecting other services in class too.
Merge pull request #298 from gathreya/changeServiceIngection

KRACOEUS-7372: Fixing previous PR. Injecting service instead of using se...