Add operations to dag rather than execute them on their own

This is still an incomplete commit (see TODOs)
Also need to add a test that looks at the final DAG given
a set of models