Moved board functionality to board classes.