Remote Server/Client deployment in ex4, to be made generic
Deployment made more generic, applied to ex3