removed logger and logger factories, now logger should be injected