made a class out of game messages