logger configuration, dependencies refactoring