added basic CRUD for cards