restructure app design