adding client - server code
adding client - server code