First draft of NetworkManager