refactored the switch it is now layerd: net -> pkt -> line -> peer -> channel