Restructured configuration handling and saving