Yeah, it's all a bit ad hoc, unfortunately
I'm trying to build some sort of developer documentation on my wave if you want to look at that. Failing that, the source code is the major source of info.
You can adjust relative prices in the config file as well