Fast flask app with mongodb