mongo api

add some mongo api.