Search/filter in library

fixes #22