base class added to handle network connections