add a reduction package and place PblPartition and MainPartition classes in