Add cnUtility class.
Add seed to rand() to support pagination.

fixes gh-284