WIP: swap out mongo for rethinkdb