Everything is hopelessly broken but i don't want to lose anything so i'm commiting.
Compiles and runs but the xml parsing is not used because it is broken.  Base architecture for file i/o has been added.