added logger flexibility for services classes