Fixes #7566 - added support for dependeces among modules
Merge pull request #148 from mbacovsky/7566_mod_deps

Fixes #7566 - added support for dependeces among modules