Data exchange

Implemented sending data from client to server