add "merge" method for easily merging dependencies
add method for getting dependencies for queues