client: moved asynctask to own file