basic import and export working

only for dm and options screen.