[idvusers] API for making bundles?

Is there an API that would allow me to construct bundles programmatically?  
(The idea would be to put together a set of data around a theme and distribute 
to users...)  Or should I just reverse engineer the XML?
--
Christopher Lynnes