Added functions to index.js to add and remove cards.