started generate class to create schedule