Rewrote modules navigator so we would visit modules in the order
specified in the modules file.

This should fix issue #66 and issue #61.