First changes to use lib modulegraph for module dependency analysis.