Move globals to one config object