private void initModules(WorkbenchBuilder builder) {
        WorkbenchModule[] modules = builder.modules;

        this.modules.addAll(modules);
    }
Constructor for WorkbenchFX by using the {@link WorkbenchBuilder}.

@param builder to use for the setup
workbenchfx-core/src/main/java/com/dlsc/workbenchfx/Workbench.java