basic framework for top level views.