setting up dependency tracking in the resource system, in the process
creating an internal api on the resources