started building out Collection class and added helpers for querying collections