move rethinkgo out of handlers
move rethinkgo out of handlers