Creation of menu and add possibility to use a database