Added ParallelInvoke feature to spawn parallel processes