reorganize directories tree structure