Add number_of_splits and max_selectors configuration options

This is branched off of the 0.2.0 release.