refactored listrepository logic moved to list query builder