implementing Network and Logger class