Making the entire channel and data processes modular