moved rx into its own dir