Added code documentation to course utils and widgets