add number generator module

This file can be removed now that there is a copy under the concern directory as well.