create a base views class to group common functionality between month-week views