-introduce mchecksum(), convertmirrors(), mdownload() functions to consolidate several splitted functions in mage/smage and use them