Refactor CardPile function names