Little organizing of npc.txt parser