building the folder stucture to that of a package