Refactoring

Changed BoardReference to BoardSpace.
Refactored the tests.