refactor storage lib
inode usage check
support filtering by device
fixed class name
update digests