Finalized import/export functions closes #6