refactor load mage class