appView functionality now in app.js