Allow client to upload data

Changed way server processes communication