Added raw unmodified Export/Import (before fixing it)
Adapted import/export for newer database structure (1.5.6)