new class to hold gamestate