implement update and render loops with new GameState class