Most of this logic has been moved to a new class called ArchiveDeployer.

That class has a much more clear interface that before but does not allow me to create a good interface yet.