Major IO changes

At this point, IO can read and write to file as described in the TODO
list. However, I have a feeling that there is something not write with
how team is set for every piece button. For now though, team is set to 1
for all buttons (I think)