Creating a python package and adding tests

Added SubCollection and ListCollection support