Decoupling user interface and business classes

the user interface and the card handler are now separated