Implemeneted AsyncTask for all networking processes.
Fixed merge conflicts.