create board class.