Complete configuration

And at the same time modernize Package API.
Various fixes after testing - it works now!

Also, the .on_use/onUse change was the other way around.