pagecontrol, routing and file restruct