move {req,get,post}Xml methods to new file