put modules for packages into directory