Adding a way to export & import data (fixes #16)