created class for visual representation of game