move pages and sections to app