Basic structure of the menu loader