Refactor code in CassandraDataRequestAdapter.

Hopefully more readable now.
Add comments to refactored CassandraDataRequestAdapter.