Refactor core/run! and add partitioning nemesis