Better OO representation of the board. Some Java utils added.