added resource dependency graph class