``Encapsulated'' gamestate into a single file