Fix shadowing case.
Remove old graph model.
Add writing of task-manifest.json. Add cleanup mechanism in test teardown.