Add option to scan/clean the library (Issue #100)
Merge pull request #101 from fyfe/feature/library-maintenance

Add rudimentary option to scan/clean the library.
see #101 for whats missing.