Added NPC functionality to the map