improved DeployManager class