Experimental method of de-coupling main template from other models.

Build the main menu from a mutable config object which is set from the
main Global object.