remove code/core/mage... and moved to local pool