exporting *state* for thread sfety
exporting *state* and state (class), allowing for creation of thread-local contexts for cl-rethinkdb.