Directories refactoring

- create only one tmp parent directory and then all the child directory partitions
- rebase directory names using os.path in mount_paritions and umount_paritions()