Renames MetricDatabase to MetricAccess
PK violation bugfix