So if I understand you correctly, this is solved fairly easily by a structure we propose in the "ChucK Book”
1) Create a file that loads (by Machine.add()) all the classes you think you’ll need.
2) As the last line of that, have it Machine.add() a different file, which then
either does the work, or adds any file(s) that depend on those initial classes.
I’ve sometimes even named these files include.ck and Main.ck
but include also runs Main, so it’s not strictly an “include” or import.
Hope this helps,
PRC