model_collect: collect all modules from a package