addes a menu on the main frame to add objects