Randomizer refactored:
* it is class now
* init method was added