savingzelda/lib: refactoring, now using the SavingZelda class for wrapper