add simple server and client