Use a map to store the NPC keys and names, add some python functions