Update Metrics to R7 and use Maven