Allow multiple instances of a module

If multiple instances of a module are desired the config json structure
can be a list of objects