created channels for in and output and modules