orgnize dir struct