move config to xml

move config to xml