implement key / gate
spawn permanent npcs and implement class exit