first completed network layer refactoring
first completed network layer refactoring