MDL-41665 scorm: Rewriting to follow coding standards