Writes views that actually do something

View connected with database, poll table