MDL-41031 events: Add a base class for page view