made cassandra internal api self-building and standalone