split magic files

(sorry, previous PR wasn't able to merge)
this PR splits magic into multiple files
these procedures are not global procedures but are related to that spell
procedures files is for global-use procedures