async loadModules () {
			let moduleData = await getModuleData();
			const envVars = await getEnvVars();
			const customCss = envVars.customCss;

			/**
			 * @returns {Promise<void>} when all modules are loaded
			 */
			const loadNextModule = async function () {
				if (moduleData.length > 0) {
					const nextModule = moduleData[0];
					await loadModule(nextModule);
					moduleData = moduleData.slice(1);
					await loadNextModule();
				} else {
					// All modules loaded. Load custom.css
					// This is done after all the modules so we can
					// overwrite all the defined styles.
					await loadFile(customCss);
					// custom.css loaded. Start all modules.
					await startModules();
				}
			};
			await loadNextModule();
		}
Load all modules as defined in the config.