Implement add, edit and delete
Refactor cards data access into repository object