RemoveCardCommandCreated
extracted a superclass for the commands
import organized
integrated the remove card command in the command factory
used the RemoveCardCommand to remove the cards