created main menu of the aplication