Added metrics library