Isolated business logic of croupier from plumbing code towards thrift