WIP: slot abstraction, generally working evolution

Passes basic checks; not yet tested on real dataset.