Blackjack refactored