quote engine using mongo