Set up client-server interface