Working at a central interface to access MongoDB (API)