Setup dependency arrays for quicker management

Been dequeueing and re-enqueueing for too long; this is a more elegant solution.