replaced nodeManager reference with dependency resolver