fixed auto detection changes in fs
fixed flushing history after exit
added support of  excluding creating and deleting sub folders
merge rest and core module