Ports /tg's cable and powernet code to our code base.