start of stand alone server and client