Explore ioc refactor for list query
Promote list/2 to a behaviour api
Removing now dead code
Rename function