Adding NetworkManager class