Refactored the board method and tests. Removed unused functions and cleaned up board object.