import/export subpages model for Control and Automate

Changes made per IRC discussion. Let me know if there's anything that doesn't meet the Brad test :)