Added ProcessStatus struct, functions, tests