engine: formalize ClusterCache interface and rename some methods
engine: rename partitions to cluster
rearrange comments that were bothering me