Moved network code in TX into inter-module library