Adding support for creating an injector with an array of modules