create CardManager class