save and load configuration part 1