creating directories for each package