Add class responsible for network state