refactors code to create a hand module and mixes module into player and dealer classes