card and deck classes v1