move check_cards to dealer application.
remove old gproc experiment
simplify the code, move code, refactoring a bit