refactor dynamic meta data generation in a separate file. Allows to do `node buildMetaData` to regenerate meta data. Webpack dev server will pick up the new data without the need to restart.
Added a default option to getModulesDefinitions.ts to prevent copy paste of default configs.