refactor auto save plugin
Merge pull request #5 from Deividy/issue-94

#94 - Refactor Auto Save Plugin