Added the minnodes to xml, added random number generator in utilities