in reply to Dynamically create Packages

This is to keep me from creating a bunch of nearly identical modules that all do the same thing.

That sounds to me like an application of the Factory pattern.