refactor settings and loggers