basic client server setup