finished multiplexing i/o loop in ctm_start. Still need to integrate all
the pieces