add logic for network operation
Sketched out probable class methods for the models.