clean up imports in config.py (get rid of modules/repository imports), resulting in cleanup of passing around modules_tool