Small library for filtering a list of objects