folder reset in init
diskio refactoring with atexit
Merge branch 'master' into no_batch