create simple server and client