started work on xml file IO.
Huge bugs, still working on it.