AVALACNHE: Keep the functions connected to command line arguments and the main menu for later. Minimal cosmetic modifications in the order of the functions.