Create menu_init_list and menu_free_list