Implemented rudimentary NPCTemplate loading