Added a dictionary of loaded modules as well