Move the logic for quest gods in model