add reference metrics; refactor ui for service/reference metrics