moved menu into object

this is just a baby step towards what we need.  I'm now thinking the bulk of the menu should probably be generated in javascript...