application restructured