You can grab all existing categories in Magento to array, here is quick example:
You can create Magento config settings using XML files, or… do this directly from model. Here is example:
All links in Magento should be generated via url model. Here is simple examples working in backend.
You can create and remove Magento product attributes from model. It’s quite simple if you know how.