clean and update Random method. modularize it. develop random_engine.json. test the whole method. done.