fixed a typo and changed to using tobytes for arrays
renamed classes
added PSP savedata encryption