All configuration moved from global to local expect main uses NULL to point to global configuration