refactoring, remove the duplicate code,try to use card record in
casino_card module only.