Adding methods to blackjack to work with a gui