moved more things out of the board class