Creation of Event and Schedule's classes