extracted Board class from boarddef