change setter based dependency injection to constructor based in service module