changed Magento to MagentoAPI