moved run_tree and reduce stuff to it's own file (process.c/h) in preparation for adding more instructions and run_tree handling etc.