Added more PSRNG and some abstractin