Added Card deck functionality.