moved the board into it's own class