Add Map class and move player logic to Player class.