Move Rx schema into separate module