Restructured configuration loading.