Added the AsyncTask and a checknetwork method.
Network Threading and Blah blah