refactored build of deployer-vm
implemented diffent deployment-modes