Merge pull request #26 from vinc3nt/master

fix configuration
#20 fixed persistence