initial saving of state via xml - still don't know what to do for world/env saving