remove logger and config class