Split out deploy logic to a separate Deployer class.