Change minimum size of board to 2x2 from 1x1, scaladocs & minor refactoring.