baseView class