Search for modules in a module path list, which contains the directory the source is in.
Cache imported modules in memory.