Added ztask_sim_cpu and improved node and run manager