Got rid of all traces of old partition representations.
Updated main to correctly use the new implementation.