cassandra: refactor editors