updated code to use the intent svc with the broadcast receiver pattern. for network data retrieval.