Added the addCardDeck function to cardDeckService.