cleans out the directory and adds substructure for cart