wip
cleaning now
wip
writing xml files now
xml file writing seems to be complete