Refactor cards to use CardEntity
Refactor sets into set repository and set entity