Generate module name programatically

- Passes an object containing options for default stubs
- Deletes the options object prior to iteratating through the object