Add config save and load

use xml files