main loop, config, logger fields