make mongo url configurable.