move show vew logic to ui, basic main view layout