refactoring on networking classes, added some more getters