Adapters

Extract cassandra-specific stuff into an adapter