Object-like RNG implementation done but not tested