New menu type for buildMenu = data

Allow the buildMenu function to accept a type of data that returns
an array of structures of the menu for the developer to then build
there own menu around.