Moved ArrayTools to an utility package.
Implemented a factor finder.