added Map class and integrated with player class