Add course information, delete course information, and generate course time cost automatically according to course information.