Started to separate request generator into own file.