Reorganization of ztask and implemented comunication between ztask_node and ztask_run