refactor example dir structure