reading configuration from rethinkdb