Feature/add pruning support

Separates out the add pruning, based ontop of the previous refactor. Adds in the proxy batched store also and a test of the pruning. (The much simpler one of the frozen + filter)