add TicTacToe class and EventManager