Need help with sketch structure and if/else if function

Hi John,

Am I correct in assuming that you are suggesting that I create a class of functions called "page"?
Each of my .h files as a "page" would then be assigned a number? something like:

const int page = 1  //[I'm not sure how the sketch would distinguish the pages from each other? ]  
// 

Assuming the library() in the library.h file was page 6

The if, else if function in the loop() in the .ino file would be:

if (page ==1)
{
page1();  //[presumably I could keep the original function name, but I'll go with page1() for clarity;
}
[...]
// here there would be 4 other else if functions until:

else if (page == 6)
{library();
}

in the library.h file would be something along the lines of:

if (upButtonState == LOW){             
                         book();                                        
                           
                     } else if (downButtonState == LOW){            
                          library();                              
                          
                     } else if (leftButtonState == LOW){                   
                         lounger();
                         
                     } else if (rightButtonState == LOW){
                           dagger();
                     }   

Am I on the right track?
I'm a total noob and I'll confess to finding your first response somewhat cryptic...

Thanks again.