Base repository for card tests

- Added Card repository
- Added mocked version of repository for tests
-