implemented new methods lastSave,resetStat,save
implemented new method slaveof