re-structure directory