Add commandline parameters for testClient and server. Improve distribution script.