Optimized module lookup with dictionary.
Merge pull request #177 from workergnome/linkfix

Internal links are linking to the wrong subdirectory.