Create npcLibrary.cpp