added loading and saving players, changed logic for spawning and removing NPCs from the game