upgraded the repositories
refactored card loading