new class to manage the board