added partitions.py to SADModels -KL