working on saving/loading gamestate
hacked together storing/loading of state, but something does not work yet