Changes to partitioner
Initial flush implementation that isn't quite working yet