extracting cassandra component out