Dependency management with ray for remote task execution

Thank you @yic, April is not too far! I am looking forward to trying out this feature.