restructured config files, introducing array