changed the metric and metric key class. started implementing the
storage of the new metric listener.