export fully works now, and import is partially done