Refactored views for more generic handling. Replaced individual views for events, devices, contacts and tagtypes