Add MVC structure where classes for GUI are put in view, entity class PlayingCard and register class DeckOfCards are put in model and the class for collaboration between GUI and backend is put in controller.