refactoring of installation of external resources

* installation modules are identified by types of external resources