Split Random into a separate module