Restructure examples tree