Card, Cardbox, and Cardset models with relations and simple validations