Move game state into new file

Not actually cleaned up or improved beside that.