define the board class