mongo driver by using ffi, based on mongo-c-driver 1.0 or above