Adds initial code for fork/join