Commiting week 2 updates. CHecking network state and preparing NetworkManager to handle all network requests.