Cleaned up the create_menu function .
Added a new menu for objects.