How to set up a Client Server Architecture