move timer.class to game.class