added baseView class; inherited all views form baseView