Create method to set up magento models