Move registering of magic effects from global.lua
Move registering of animations from global.lua