basic working client server, very basic