restructure: refactor Board.js and test
restructure: refactor Board.js
restructure: define getValue in Board.js
restructure: refactor mainController
restructure: remove  in mainController