Modify CardLib to Use a Generic Collection Class.