Deployment subsystem

Terrible name for a method.  NextImageRepository, and it should take the IR as an argument