Page Importer exporter refactor

closes #367