added file change count to metadata (sqlite db)
fixed bug in finddup
general refactoring