Well, since you've decided to necropost you could always look at the project in my GitHub repository, the URL of which is in the sig immediately above.
You won't find the layout particularly straightforward, but it does solve the problem of static vs dynamic linkage fairly thoroughly. You'll need to add sysex entry points (or ask me extremely politely to add them, but I don't relish it since I've already got a great deal of work on my plate) after which- IIRC- the parsing is fairly simple.
MarkMLl