Implemented the board state object