Added methods to start/stop processes and get PID.