Code that calls the menu function.

We take a first argument and send it to a menu function. I have to add
a validity checker here (catch all) to menu function.