Added the beginnings of some menu framework code