Finished fleshing out the network state manager.