added migration and model for cards