I have taken a bit of a look around, and as far as I can tell, the compiled code is just an engine. The actual what's-happening is driven by the scripts.
But I'm completely lost when it comes to what's what, and what's the main(), of the scripts.
So, simply enough: What's the setup/structure of the scripting system?