Random generator helper class