Extracting the collection function into a new file inside Collection
Oops, adding file meant for previous commit
Adding missing use statement
fix CS