Moved the code to launch parallel job in a class name Parallel_Job

Signed-off-by: Charles Joly Beauparlant <Charles.Joly-Beauparlant@crchul.ulaval.ca>