extracted functions to clear services and config respectively
extracted functions to clear services and config respectively

fauvel/CM,fauvel/CM,njam/CM,fauvel/CM,njam/CM,cargomedia/CM,fauvel/CM,fauvel/CM,cargomedia/CM,njam/CM,cargomedia/CM,cargomedia/CM,njam/CM,njam/CM