Adding ProcessManager class to handle cleanup of child processes (WIP).