Added name and credits creation when adding a course.