in reply to Modules design pattern: abstraction vs incarnation (providing not so static data)
Here's an example of how you could do it: