refactoring the board and introducing color