restruct app main view