refactor Table#createDecks