added a new menu

Depending on the project's files global organisation, functions
declared in main.cpp must be moved in another file. However, the code
in main.cpp is the basic code for the interface.