setCourseEvent finished. fix bugs in Course.Class.php. close #8.