cleaning up the directory structure