add load_dependency_modules method