refactor the org unit tree into partials