Preview deployer refactoring