Add comments about what do the subroutines do
Add comments about what do the subroutines do

[ci skip]

berkmancenter/mediacloud,berkmancenter/mediacloud,berkmancenter/mediacloud,berkmancenter/mediacloud,berkmancenter/mediacloud