Move PartitionerConstructor definition into partitioner.go