Clean unneeded refs to metricDB

.. starting to sunset the code now. Need to sort the sqlModel
   for the ridecache and then it can be retired completely.