move externally refenced files to module