Reworked module_rc to operate on fifo, incomplete