Added NPCLib class, this will be used as main class.