Separated random number functions into their own package.