changed handling of the cat preferences to a Cat object