added server and client skeleton code