Adds better random soruces
widened use of random and added liscense