added initial support for external DAG execution

polishing

polishing