Added messaging support & semaphore support for both processes.