Starting to refactor TicTacToe