Modules dependency resolution first approach