refactor and comments

moved out the board from the solution