adding job, process structs, and some forking stuff