Rough outline of views and backend