WIP: Move import/export logic to stores