First draft of saveConfigurationSet. (Extremely slow for some reason..)