Merge Code, save all config to xml file