#2 added recognition of magento module's structure