added basic card CRUD and started unit tests for card components