Added database access to CardDAO and AbilityDAO