Created a class for the menus and implemented inheritance in order to make them