Reorganize app config.