Create server and client