In theory, since Lux has a very high CIT (24.94%) I do not think it will trigger CFC rules.
About the royalties payments what I wanted to have is to pay a % of the total app yearly income as royalties, let's say 95%, regardless of the app value.
Clearly, the app value will be much higher than...