refactor services
change service definitions from yml to xml