Added discussion definition
Adding function selectFromCollection to pass a selector and collection name to retrieve a subset
Chorts ...