added quest class/logic