Add endpoint for events. Create objects