Rewriting of Poker, hopefully only at the style level.
Extracted main function to a separate file