Add events for processing events, create some default views and urls