added generic player, npc classes, made encounter.