Automatically add new page (application) in a directory

if your menu based on files in some pages_dir folder, you can build menu for example os.walk(pages_dir) and return all needed files.
and robust solution to add reload button just in case