added structure for Views and Events
added scripts for View and Events