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 the yearly turnaround so the︁ royalties paid will be surely less than the value but this will increase over time︂ as soon as the app grows.
Of course, as the app grows, the valuation of︃ it will grow too so royalties paid will always be less than the total app︄ value.
The purpose of all this is to deduce almost all (95% or so) of︅ app income as a business expense from the company balance to apply the CIT only︆ to a small amount, regardless of the app value.
I found a license agreement template︇ online that works exactly like those, they take a % cut of app yearly turnover︈ and pay it to owners of the IP as per agreement between the parties.