added views.sql to keep track of view changes. will add others
fixed rolling average calculation