refactoring parameters - removing warnings.
Define modload and extra modules as one unit.

Otherwise we can run into the nasty situation where we define extra
modules without including the modload class.
modload options generated from array contents

Otherwise we can run into some nasty problems where we define an array
of extra modules to load and forget to include the modload class.