Abstract RX into modules