Added method to MainService class: 
wifiEnabled
wifiConnected
mobileConnected
isServerReachable AsyncTask
downloadFile AsyncTask