Mark,
I didn't actually ever do that, but it will work.
I did a really ugly hack to make package require work, but you need to load the code in every time you call it. Not exactly efficient.
I did test the code, and it does work once you get it loaded into aolserver. I don't know the exact order, examine the pkgindex.tcl file to find out.
Good luck!