implement cassandra connection