adding Player, Item, and Obstacle classes