Transferred setup commands to the Config class and the new Logger class.