Added setColor method and fixed board.clear