Completes implementation of dependencies

For each service, we run the command on its dependencies and check for status.
If status if nonzero, we exclude the node from further operations.