Add basic import functionality to transform old structure to new one.