Implemented import/export functionality