Save implemented

Implements the functions Save, Reset save, Export and Import