get all cards with 2 calls
clean up cards, structure functions ans package.json