Refactor so that all process info is encapsulated in ProcessInfo objects