RandomGenerator is no longer a global object. Also removed the uppercase since its no constructor function.
Removed leftover comments.
Removed some unused comments.