Remove unused constants.
Change cbBoard to return a factory.
Move generate method from controller to board.
Create service for getMovingPath method.
Add the calculation of score for elimate method.