add menu items, use nsarraycontroller for the view, set up accessory view