ADDED: model and controller for cards