improvements to UI without foundation.. added app scope vars rather than
at controller level..