add NetworkManager class