PDIOMON-7 Modified the code so that later on, when new tools other than MongoDB or Hadoop are used, the monitor code can be easily modified