Add option to scan/clean the library

Issue #100