Server side and client side restful API samples with Cassandra