You should write the module loading mechanics yourself - the AI won't produce an instance structure because there is not enough Node-specific code for training.
It has produced global static variables with object references.
AI can't help you if you do not understand the code.