moved the diagnostics module to the package's root folder