refactor card class structure+difficulty

moderate