added mongo rest interface