create GameBoard.js factory and link to TTTController