put communication to server in client class only, was in workerfunction before. so the client machiene has to fetch possibly huge data only once