Handling multiple input containing references. If the referred module have more than one instances we take the first instance for now
Merge branch 'master' of https://github.com/Data2Semantics/d2s-tools