More work on app and views