refactor: separate DAG-run repository and storage (#2554)