Correction of some functions + add json and persistence file with correct name
Correction of travis bug