Working implementation, still issues with Cassandra