Refactoring create_course_utils and create_library_utils to reduce the amount of differences (mostly renames